home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / sna / as400i.txt < prev    next >
Text File  |  1991-02-12  |  10KB  |  229 lines

  1.                     How to set up Concurrent
  2.            Connections to Netware and AS/400 servers 
  3.                           via Ethernet
  4.  
  5. AS/400 - The Ethernet Connection...
  6. -----------------------------------
  7. IBM even surprised it's own personnel on September 28, 1990 when it
  8. actually delivered Feature #2625, an Ethernet adapter for the
  9. AS/400 priced at $4000.  After almost two years of vague promises,
  10. IBM was to embrace (I use the term loosely) a network technology
  11. other than the vaunted Token Ring.
  12.  
  13. However, AS/400 Ethernet required Version 3 of the OS/400 Operating
  14. System which did not begin "formal" shipping until 1991. Early
  15. releases were available before that date.  There were many
  16. cautions, but the word "Beta" was never used.  In all fairness, a
  17. version received in November was solid.
  18.  
  19. To access an AS/400 via Ethernet requires PC Support Version 3,
  20. which in turn requires LAN Support Version 1.2 and either 3COM
  21. 3C503 or WD Ethercard+ network cards.  The AS/400 Ethernet Adapter
  22. offers only an DIX connector; an external transceiver must be
  23. obtained.
  24.  
  25. Multiple Protocol Stacks for IPX and LANSupport - NDIS vs. ODI
  26. --------------------------------------------------------------
  27. While Gateways and Routers had been the tradition means of
  28. connecting IBM protocols such at IBM 3270 and 5250, the growing use
  29. of TCP/IP on Ethernet was feeding the not unreasonable idea that a
  30. single Ethernet card should be able to more than one protocol. 
  31. Some PC's in such multiple protocol (MP) environments actually has
  32. a separate Ethernet card for each protocol - and expensive and
  33. complex solution.
  34.  
  35. Companies such as Hughes began to offer products such as the
  36. ProLink which allowed the network card hardware to transparently
  37. service several different protocols.  The only drawback with the
  38. ProLink was it's expense.
  39.  
  40. 3COM's attempt to address the MP issue resulted in the NDIS
  41. specification.  Novell chose not to support NDIS and developed a
  42. totally different specification called ODI.  Their premise was that
  43. NDIS did not allow dynamic loading and unloading of protocol
  44. stacks.
  45.  
  46. 3COM responded by publishing a new NDIS specification, and with the
  47. help of IBM and Microsoft persuaded more Ethernet card suppliers to
  48. include NDIS drivers as part of the standard driver library.  ODI
  49. drivers appear to be less available than NDIS.
  50.  
  51. One problem remained for Netware users; the NDIS drivers had
  52. nothing for IPX, and the ODI drivers had nothing for LAN Support on
  53. Ethernet. 
  54.  
  55. 3COM 3+ Open Connection for Netware
  56. -----------------------------------
  57. An obscure product to most Novell types, 3+ Open Connection for
  58. Netware is designed to allow 3+ Open users to access Novell file
  59. servers.  It contains 3COM's NDIS driver for IPX which may be used
  60. to provide the critical IPX <> NDIS link.  I was first alerted to
  61. this by Mike Kouri of 3COM on Netwire, to whom I am eternally
  62. grateful.
  63.  
  64. Locating this product was no simple matter.  As an Integrator, I
  65. wished to purchase the product through distribution rather than via
  66. a 3COM reseller.  Both Merisel and Ingram Micro D has difficulty
  67. even identifying the product, let alone being able to deliver. 
  68. Fortunately Tech Data had stock.  The product is packaged in single
  69. user, 10 user and unlimited (Server) license packs.
  70.  
  71. Installation
  72. ------------
  73. The installation process is totally manual because the supplied
  74. installation program abends when it fails (understandably) to find
  75. the LAN Manager workstation software.
  76.  
  77. A special IPX.COM file must be created from the .OBJ and .LAN files
  78. supplied in the 3+ Open Connection for Netware.  This can not be
  79. done in SHGEN, but must be performed manually using the Novell
  80. utility, NLINK.  This NDIS IPX file contains no hardware
  81. parameters, but simply "hooks" to the IPXSTUB driver already
  82. loaded.  Although generation is tricky, it only needs to be done
  83. once.
  84.  
  85. 3COM also supplies programs that will allow unloading of IPX in a
  86. manner similar to MARK and RELEASE.  They are PRENET and NWUNLOAD. 
  87. The latest xxxNETx workstation shells may be unloaded without
  88. external assistance.
  89.  
  90. Configuration
  91. -------------
  92. Sample CONFIG.SYS and AUTOEXEC.BAT files are provided at the end of
  93. this article.  Their operation is described below.
  94.  
  95. Operation
  96. ---------
  97. In CONFIG.SYS, the Protocol Manager (PROTMAN.EXE) reads the NDIS
  98. configuration file (PROTOCOL.INI), loads the specified hardware
  99. driver (ELNKII.DOS for example), a "hook" for IPX (IPXSTUB.DOS) and
  100. then the LAN Support drivers (DXMAMOD0.SYS & DXMEMOD0.SYS).  While
  101. all this occurs in CONFIG.SYS, the actual binding of the protocols
  102. takes place by running NETBIND.EXE from AUTOEXEC.BAT.
  103.  
  104. Once the protocols are bound, the special NDIS IPX.COM is loaded,
  105. followed by the xxxNETx of your choice.  After the usual login
  106. procedure, the PCSupport Router, Shared Folders and Workstation
  107. programs may be loaded.
  108.  
  109. There is no reason why the IPX and xxxNETx have to be loaded before
  110. the PCSupport programs, although that configuration was not
  111. extensively tested.
  112.  
  113. Memory Considerations
  114. ---------------------
  115. As can be imagined, all this takes up quite a bit of memory.  The
  116. only way to address this situation is to get some EMS, C&T
  117. ShadowRAM or memory between 640K and 1Mb that can be mapped as
  118. Expanded memory. 
  119.  
  120. Several memory managers are available from Quarterdeck, Qualitas,
  121. Helix etc..  I evaluated Quarterdeck and Helix and ended up using
  122. QEMM/QRAM in over 60 PC's including IBM XT & AT, Compaq Portable,
  123. Portable II, Deskpro, Deskpro 286, 286e, SLT, Packard Bell 286, NEC
  124. 386SX. 
  125.  
  126. The only real problem encountered beside the usual struggle for
  127. mappable memory was the refusal of PROTMAN.EXE to be loaded in high
  128. RAM.  This is apparently due to the practice of parsing parameters
  129. by scanning the CONFIG.SYS image.  Unless these routines are
  130. carefully written, they can be easily confused when they are
  131. themselves parameters of LOADHI type device statements.
  132.  
  133. AS/400 PCSupport Login
  134. ----------------------
  135. Although the PCSupport/LAN Support drivers and configuration files
  136. must be located on the workstation boot device, the test
  137. configuration maintains all other PCSupport files on a Novell
  138. server.  If you prefer to access the AS/400 before login to
  139. Netware, all necessary PCSupport files must be locally available.
  140.  
  141. The PCSupport Router (STRTRTR.EXE) has only one parameter, the name
  142. of the PCSupport configuration file (CONFIG.PCS).  When started,
  143. this program requests LAN Support to "open the adapter" and
  144. requests a connection with the specified AS/400 System at a
  145. specified 12 digit Ethernet address. (This address, the AS/400
  146. Ethernet card ID, may need to be bit-reversed; a simple operation.)
  147.  
  148. On a lighter note, the IBM Token Ring heritage is clearly evident;
  149. the Router program still announces itself as Token Ring Router,
  150. even though it is Ethernet.
  151.  
  152. The Router will then prompt for a PCSupport Common User ID (CUID)
  153. and password.  After entry, the Router will establish a connection
  154. to the AS/400.
  155.  
  156. If you wish to use PCS Shared Folders, you must run STRTFLDR.EXE at
  157. this point.  This program has two parameters specifying the number
  158. of folders (mapped virtual drives) and files.
  159.  
  160. Many other PCSupport functions are available in Version 3, but the
  161. intention of this article is simply to start a 5250 session.  This
  162. is accomplished with WSF.EXE, which has an optional parameter for
  163. a Session Master Profile file.  Once loaded, WSF automatically
  164. starts the first 5250 session for you and the login screen will
  165. appear.
  166.  
  167. The Hot-Key
  168. -----------
  169. Press <ALT><ESC> to return to the DOS session on Netware,
  170. <ALT><ESC> to go back to the 5250 session.  The PCSupport Router
  171. and Workstation function use between 50-60K each and may be loaded
  172. in High RAM if available.
  173.  
  174. Terminating the AS/400 Session...
  175. Once the user has signed off the AS/400, the user must hot-key back
  176. to DOS and stop the WSF session by using STOPWSF.  This required a
  177. parameter specifying the Session number which is simply "1" for a
  178. single session.  The user will be asked to confirm by pressing
  179. <ENTER> or allowed to return using <ESC>.
  180.  
  181. Next the PCSupport Router must be stopped by using STOPRTR.  If
  182. shared folders are being used, they should be stopped in a similar
  183. manner.
  184.  
  185. Finally, the memory used by all PCSupport programs may be released
  186. back to DOS by typing RMVPCS ALL.
  187.  
  188. Conclusion
  189. ----------
  190. While 3+ Open Connection for Netware solves the NDIS/IPX problem,
  191. the cost per server is $1995.  In many situations, this cost is
  192. small compared to the benefits accrued, but the issue of support
  193. remains vague.  3COM support is targeted at users of 3+ Open rather
  194. than Netware.
  195.  
  196. This situation is compounded by the recent announcement by 3COM
  197. that it is selling much of it's network software product line
  198. (including this one) to Microsoft.
  199.  
  200. Sample CONFIG.SYS & AUTOEXEC.BAT files
  201. --------------------------------------
  202.  
  203. shell=\COMMAND.COM /p /e:512
  204. files=40
  205. buffers=10
  206. device=\QRAM\QRAM.SYS RAM NV
  207. device=\QRAM\LOADHI.SYS /H \PCS\EIMPCS.SYS
  208. device=\LANMAN\PROTMAN.EXE
  209. device=\QRAM\LOADHI.SYS /H \LANMAN\ELNKII.DOS
  210. device=\QRAM\LOADHI.SYS /H \LANMAN\IPXSTUB.DOS
  211. device=\QRAM\LOADHI.SYS /H \LANMAN\DXMA0MOD.SYS 001
  212. device=\QRAM\LOADHI.SYS /H \LANMAN\DXME0MOD.SYS
  213.  
  214. @echo off
  215. prompt $p$g
  216. set term=MONO
  217. set pctype=IBMAT
  218. PATH=C:\DOS;C:\
  219. \LANMAN\NETBIND
  220. \QRAM\LOADHI /H \NOVELL\IPX
  221. \QRAM\LOADHI /H \NOVELL\NET3
  222. F:
  223. LOGIN
  224.  
  225.  
  226. The content of this article is copyrighted material and is made
  227. available courtesy of The Meridian Group, Inc..  Permission is
  228. hereby given to distribute this article providing there is no
  229. alteration of content.